package com.sitech.ibnms.c3p.mappers;

import org.apache.ibatis.annotations.Param;
import org.springframework.cache.annotation.Cacheable;

import java.util.List;

/**
 * Created by liujhc on 7/21.
 */
public interface C3pResourceMapper {

    @Cacheable("instant")
    List<String> findAgentIdByIPAndUsername(@Param("hostIp") String hostIp, @Param("username") String username);
}
